import 'dart:typed_data';

abstract class RestClient {
  int get port;
  String get host;
  String get authorization;
  void setAuthorization(value);

  void setHostEnv(String host, int port);

  invokeHttp(String path, RequestType type,
      {dynamic body, String? contentType});
  Future<Uint8List> getFile(String path);
}

enum RequestType { get, post /*, put*/, delete }
